package com.sit.pojo;

import org.springframework.stereotype.Component;

import java.sql.Date;

@Component
public class js_card {
    private String jsId;
    private Date period;
    private String readId;

    public js_card() {
    }

    public js_card(String jsId, Date period, String readerId) {
        this.jsId = jsId;
        this.period = period;
        this.readId = readerId;
    }

    public String getJsId() {
        return jsId;
    }

    public void setJsId(String jsId) {
        this.jsId = jsId;
    }

    public Date getPeriod() {
        return period;
    }

    public void setPeriod(Date period) {
        this.period = period;
    }

    public String getReadId() {
        return readId;
    }

    public void setReadId(String readId) {
        this.readId = readId;
    }

    @Override
    public String toString() {
        return "js_card{" +
                "jsId='" + jsId + '\'' +
                ", period=" + period +
                ", readId='" + readId + '\'' +
                '}';
    }
}
